
package com.scs.application.modules.msg.controller;

import com.scs.application.core.mvc.controller.CrudController;
import com.scs.application.core.mvc.controller.ImAndExAbleController;
import com.scs.application.modules.msg.entity.MscmReceive;
import com.scs.application.modules.msg.request.MscmReceiveQueryRequest;
import com.scs.application.modules.msg.service.MscmReceiveService;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 我的消息 controller
 *
 */
@AllArgsConstructor
@RestController
@RequestMapping("/mscm_receive")
public class MscmReceiveController extends CrudController<MscmReceive, String, MscmReceiveService> implements ImAndExAbleController<MscmReceiveQueryRequest> {

    private MscmReceiveService mscmReceiveService;

    /**群发供应商*/
    /*@PostMapping("/send_to_supplier")
    public CommonResult saveSendToSupplier(@RequestBody @Valid MscmReceiveDTO dto) {
        mscmReceiveService.saveSendToSupplier(dto);
        return CommonResult.ok("发送成功");
    }*/


}
